credit2: respect credit2_runqueue=all when arranging runqueues
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Fri, 3 Mar 2023 06:57:39 +0000 (07:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Mar 2023 06:57:39 +0000 (07:57 +0100)
commit74b76704fd4059e9133e84c1384501858e9663b7
tree5f364b799fa04f60bf7d0360900c6f1e34c5ac5a
parent8202b9cf84674c5b23a89c4b8722afbb9787f917
credit2: respect credit2_runqueue=all when arranging runqueues

Documentation for credit2_runqueue=all says it should create one queue
for all pCPUs on the host. But since introduction
sched_credit2_max_cpus_runqueue, it actually created separate runqueue
per socket, even if the CPUs count is below
sched_credit2_max_cpus_runqueue.

Adjust the condition to skip syblink check in case of
credit2_runqueue=all.

Fixes: 8e2aa76dc167 ("xen: credit2: limit the max number of CPUs in a runqueue")
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
master commit: 1f5747ee929fbbcae58d7234c6c38a77495d0cfe
master date: 2023-02-15 16:12:42 +0100
docs/misc/xen-command-line.pandoc
xen/common/sched/credit2.c